import lib
import auto_log
PATH_TO_DATA = r'e:\data'
#if lib.rb or lib.rc or lib.ri:
res = lib.fsum_check_md5('',PATH_TO_DATA)
#else:
#    exit(0)
if res['err'] != 0:
    print('MD5 not equivalent')
    print(res['out'])
    exit(-1)
else:
    exit(0)